/*    */ package com.yc.web.station;
/*    */ 
/*    */ import com.yc.dao.model.AirconditionBO;
/*    */ import com.yc.service.station.AirconditionService;
/*    */ import com.yc.util.ListContentsBFO;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class AirconditionWeb
/*    */ {
/*    */   AirconditionService airconditionService;
/*    */ 
/*    */   public AirconditionWeb()
/*    */   {
/* 13 */     this.airconditionService = new AirconditionService();
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getAirconditionList(Map condition)
/*    */   {
/* 18 */     return this.airconditionService.getAirconditionList(condition);
/*    */   }
/*    */ 
/*    */   public boolean saveAircondition(AirconditionBO bo) {
/* 22 */     String strID = bo.getId();
/* 23 */     if ((strID == null) || ("".equalsIgnoreCase(strID.trim()))) {
/* 24 */       return this.airconditionService.saveAircondition(bo);
/*    */     }
/* 26 */     return this.airconditionService.updateAircondition(bo);
/*    */   }
/*    */ 
/*    */   public boolean deleteAircondition(String strID) {
/* 30 */     return this.airconditionService.deleteAircondition(strID);
/*    */   }
/*    */ 
/*    */   public ListContentsBFO getAirconditionByBtsName(Map condition)
/*    */   {
/* 35 */     return this.airconditionService.getAirconditionByBtsName(condition);
/*    */   }
/*    */ }

/* Location:           E:\java\apache-tomcat-6.0.36\webapps\btsm\WEB-INF\classes\
 * Qualified Name:     com.yc.web.station.AirconditionWeb
 * JD-Core Version:    0.6.2
 */